<template>
  <div class="header">
    <router-link to="/">
      <div class="iconfont city-back">&#xe624;</div>
    </router-link>
    城市选择
  </div>
</template>

<script>
export default {
  name: 'CityHeader'
}
</script>

<style lang="stylus" scoped>
  @import '~styles/varibles.styl'
  .header
    position:relative
    overflow:hidden
    height:$headerHeight
    line-height:$headerHeight
    color:#fff
    background:$bgColor
    text-align: center;
    font-size:.32rem
    .city-back
      position:absolute
      left:0
      top:0
      width:.64rem
      height:$headerHeight
      line-height:$headerHeight
      font-size:.4rem
      color:#fff
</style>
